/**
 * 登录相关ajax函数
 */

import request from '@/utils/request'

// get
export const getCateList = (params) => {
  return request({
    method: 'get',
    url: '/goods/catelist',
    params
  })
}

// 医生PC登录
export const drWebLogin = (data) => {
  return request({
    method: 'post',
    url: '/login/drWebLogin',
    data
  })
}

// 医生修改密码
export const modifyPassword = (data) => {
  return request({
    method: 'post',
    url: '/drUser/modifyPassword',
    data
  })
}

// 查询配置列表
export const findConfigList = (data) => {
  return request({
    method: 'post',
    url: '/config/findConfigList',
    data
  })
}

// 更新配置信息
export const updateConfigSet = (data) => {
  return request({
    method: 'post',
    url: '/config/updateConfigSet',
    data
  })
}
